<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');

class Pagination extends CI_Controller {


	function index()
	{
		$this->load->library('pagination'); 
		$this->load->helper('url');
		$config['base_url'] = base_url().'/pagination/index/';
		$config['total_rows'] = '200';
		$config['per_page'] = '20'; 

		$this->pagination->initialize($config); 

		echo $this->pagination->create_links();

	}

	
}

/* End of file pagination.php */
/* Location: ./application/controllers/pagination.php */